#!/usr/bin/env python3
# coding:utf-8
import json
import requests

path = "/login"
url = "http://127.0.0.1:8808"+path
s = json.dumps({"username": "value1", "password": "value2"})
head = {"Content-Type": "application/json"}
print("text", s)
r = requests.post(url, data=s, headers=head)
print(r.text)
